var e = getApp();

Page({
    data: {
        list: [],
        conference_id: "",
        member_id: ""
    },
    onLoad: function(e) {
        e.id && this.setData({
            conference_id: e.id
        }), e.member_id && this.setData({
            member_id: e.member_id
        }), this.getData();
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    onShareTimeline: function() {},
    getData: function() {
        var t = this, n = e.getNetAddresss("plugin.conference.api.conference-enrol.get-child");
        n += "&conference_id=" + t.data.conference_id, n += "&member_id=" + t.data.member_id, 
        e._getNetWork({
            url: n,
            success: function(e) {
                var n = e.data;
                1 == n.result && t.setData({
                    list: n.data
                });
            },
            fail: function(e) {
                console.log(e);
            }
        });
    },
    goMeetingIndexDetail: function(e) {
        var t = e.currentTarget.dataset.id, n = e.currentTarget.dataset.memberid;
        wx.redirectTo({
            url: "/packageB/conference/MeetingIndexDetail/MeetingIndexDetail?id=" + t + "&member_id=" + n
        });
    },
    gogoExtendList: function(e) {
        var t = e.currentTarget.dataset.ferenceid, n = e.currentTarget.dataset.memberid;
        wx.redirectTo({
            url: "/packageB/conference/MeetingExtendList/MeetingExtendList?id=" + t + "&member_id=" + n
        });
    }
});